<template>
    <div>
        <h3>新闻详情--{{id}}</h3>
    </div>
</template>
<script>
export default {
    data(){
        return {
            id:this.$route.params.id //地址栏中/　传递的值
        }
    }
}
</script>
<style lang="scss" scoped>
    
</style>